package com.topcheer.provider.auth.service;


import com.topcheer.provider.auth.jwt.vo.JwtAuthenticationRequest;

/**
 * @author xutao
 * @Package com.topcheer.provider.auth.service
 * @Description: ${todo}
 * @date 2020/4/8 9:27
 */
public interface AuthService {

    String login(JwtAuthenticationRequest authenticationRequest) throws Exception;

    String refresh(String oldToken) throws Exception;

    void validate(String token) throws Exception;

}
